package com.april.pattern.creational.singleton;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/06/23 10:54
 * @description
 */
public enum EnumInstance {
    /**
     * 返回的实例
     */
    INSTANCE;

    private Object data;

    public static EnumInstance getInstance(){
        return INSTANCE;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
